package com.yex.service;

import com.baomidou.mybatisplus.service.IService;
import com.yex.base.WalletOper;
import com.yex.common.utils.PageUtils;
import com.yex.entity.InvestEntity;
import com.yex.utils.JsonResultVo;

import java.util.Map;

/**
 * 排单钱包
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-03 10:49:32
 */
public interface InvestService extends IService<InvestEntity> {

    PageUtils queryPage(Map<String, Object> params);

    JsonResultVo updateInvest(WalletOper walletOper);

    InvestEntity selectByUserId(Integer userId);

    JsonResultVo updateTransferInvest(String mobile, String number, Integer userId);

    JsonResultVo updateBuyInvest(String number, Integer userId);
}

